package com.sh4.wxservice.message.chat;


import java.util.Date;

/**
 * 聊天
 * 
 * @author huxh
 * 
 */
public class ChatMessage {

	// 公司
	private String companyId;
	// 接收方帐号
	private String toUser;
	// 发生方帐号
	private String fromUser;
	// 消息创建时间
	private Date createdDate = new Date();
	// 消息类型（text/voice/news,）
	private String chatType;
	// 删除标识
	private String deleteFlag;

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getToUser() {
		return toUser;
	}

	public void setToUser(String toUser) {
		this.toUser = toUser;
	}

	public String getFromUser() {
		return fromUser;
	}

	public void setFromUser(String fromUser) {
		this.fromUser = fromUser;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public String getChatType() {
		return chatType;
	}

	public void setChatType(String chatType) {
		this.chatType = chatType;
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
}
